package com.gpframework.common.enums;

import lombok.Getter;

/**
 * 订单状态
 *
 * @author zcl
 */
@Getter
public enum OrderStatus {

    PAY("待支付", -1),
    DELIVERY("待发货", 0),
    WAITING_RECEIVING("待收货", 1),
    RECEIVING("已收货", 2),
    SUCCESSFUL("完成", 3);


    private String name;
    private Integer key;

    OrderStatus(String name, Integer key) {
        this.name = name;
        this.key = key;
    }
}
